package com.qm.console.dao.mapper;

import com.qm.console.dao.model.VideoRecordDO;
import com.qm.console.pubdef.dto.anchor.VideoRecordQueryDTO;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VideoRecordDOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VideoRecordDO record);

    int insertSelective(VideoRecordDO record);

    VideoRecordDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(VideoRecordDO record);

    int updateByPrimaryKey(VideoRecordDO record);

    List<VideoRecordDO> list(VideoRecordQueryDTO queryDTO);

    int count(VideoRecordQueryDTO queryDTO);

    void removeImage(@Param("chatId") String chatId);

    void verifyChat(@Param("chatIds") List<String> chatIds);

    void verifyUserChat(@Param("userId") String userId);
}